package com.smalls.redshoes.adapter;

import android.content.Context;

import com.smalls.newvideotwo.db.Category;
import com.smalls.redshoes.R;
import com.smalls.redshoes.util.LanguageUtils;

import cn.bingoogolapple.androidcommon.adapter.BGAAdapterViewAdapter;
import cn.bingoogolapple.androidcommon.adapter.BGAViewHolderHelper;

public class RSVodCategoryAdapter extends BGAAdapterViewAdapter<Category> {
    public RSVodCategoryAdapter(Context context) {
        super(context, R.layout.rs_item_vod_category);
    }

    protected void fillData(BGAViewHolderHelper viewHolderHelper, int position, Category model) {
//        if (LanguageUtils.isLanguageZh()) {
            viewHolderHelper.setText(R.id.tv_category_name, model.getTitle());
//        } else {
//            viewHolderHelper.setText(R.id.tv_category_name, model.getShort_title());
//        }
    }
}
